cmake_minimum_required(VERSION 3.5)
project(useEigen)

set(CMAKE_CXX_STANDARD 11)

# 添加Eigen头文件
include_directories("/usr/include/eigen3")

# in osx and brew install
# include_directories( /usr/local/Cellar/eigen/3.3.3/include/eigen3 )

add_executable(eigenMatrix eigenMatrix.cpp)
